package lab02.test13;

public class School extends ComputerAverage {

    double sum = 0;

    //总分除以总科目
    @Override
    void average(double[] scores) {

        for (int i=0;i < scores.length;i++) {
            sum = sum + scores[i];
        }
        System.out.println("School平均分 = " + (sum)/5);
    }
}
